﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace nl.hanze.i.web.t41
{
    class Program
    {
        static void Main(string[] args)
        {
            //John Doe
            Mens mens = new Mens("John Doe", DateTime.Parse("1990-02-05 08:05:00"), Sexe.Man);

            Mens mens2 = new Mens("Jane Doe", DateTime.Parse("1991-02-18 08:05:00"), Sexe.Vrouw);

            Mens mens3 = mens + mens2;
            mens3.Naam = "Baby Doe";

            List<Mens> mensen = new List<Mens>();
            mensen.Add(mens);
            mensen.Add(mens2);
            mensen.Add(mens3);

            Populatie populatie = new Populatie(mensen);

            Console.WriteLine(populatie.ToString());
        }
    }
}
